﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Angle
{

    public const double PI = Math.PI;
    public const double TwoPI = Math.PI * 2;

    public static double NormalizeRad2(double angle)
    {
        while (angle < 0)
            angle += TwoPI;
        while (angle > TwoPI)
            angle -= TwoPI;
        return angle;
    }

}
